using Mysoft.Dbf.Writers;

namespace Mysoft.Dbf
{
    public class ExportAsDateColumnAttribute : ExportAsColumnAttributeBase
    {
        public ExportAsDateColumnAttribute(string columnName)
            : base(columnName)
        { }

        public override IWriter GetWriter()
        {
            return new DateFieldWriter(this.ColumnName);
        }
    }
}
